﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; 
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace Keepo.Models
{
    public class ImageCategory
    {
        public int ImageCategoryId { get; set; }

        [Required(ErrorMessage="יש להזין כותרת")]
        public string Title { get; set; }

        [Required(ErrorMessage = "יש להזין כותרת בעברית")]
        public string TitleHebrew { get; set; }

        public bool Deletable { get; set; }

        public ImageCategory()
        {
            //default value for Deletable
            Deletable = true;
        }
    }
}